package com.niguang.work.labour.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.niguang.work.labour.api.entity.AppUser;
import com.niguang.work.labour.api.vo.IcCardSearchVo;
import com.niguang.work.labour.api.vo.SynchroMembersVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE Mapper 接口
 * </p>
 *
 * @author 83673
 * @since 2018-11-17
 */
public interface AppUserMapper extends BaseMapper<AppUser> {
    SynchroMembersVo.SynchroMembersNoVo getSynchroMembersByUserId(@Param("userId") Long userId);

    List<IcCardSearchVo> selectIcCardUsers(@Param("phone")String phone, @Param("icCard")String icCard, @Param("laborId")Long laborId);

    Integer updateIcCardById(@Param("id") Long id);
}
